package com.netease.nie.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.netease.nie.mapper.RobGoodsInfoMapper;
import com.netease.nie.model.RobGoodsInfo;

@Repository
public class RobGoodsInfoDao {

	@Resource
	private RobGoodsInfoMapper robGoodsInfoMapper;
	
	public List<RobGoodsInfo> queryTopRobGoodsInfos() {
		return robGoodsInfoMapper.queryTopRobGoodsInfos();
	}
	
	public List<RobGoodsInfo> queryMoreRobGoodsInfos() {
		return robGoodsInfoMapper.queryMoreRobGoodsInfos();
	}
	
	public RobGoodsInfo queryRobGoodsInfoByRobGoodsId(int robGoodsId) {
		return robGoodsInfoMapper.queryRobGoodsInfoByRobGoodsId(robGoodsId);
	}
	
	public List<RobGoodsInfo> queryRobGoodsInfosByRobGoodsIds(List<Integer> robGoodsIds) {
		return robGoodsInfoMapper.queryRobGoodsInfosByRobGoodsIds(robGoodsIds);
	}
	
	public RobGoodsInfo queryRobGoodsConfigByRobGoodsId(int robGoodsId) {
		return robGoodsInfoMapper.queryRobGoodsConfigByRobGoodsId(robGoodsId);
	}
}
